package com.pingan.haofang.searchcloud.web.index.vo.test;

import com.pingan.haofang.searchcloud.web.index.vo.FullRpcIndexDataSourceVO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * 测试全量请求
 *
 * @author zhangbi617
 * @date 14/05/2017
 */
@ApiModel(description = "全量RPC测试请求")
public class FullRpcTestRequest {

    @ApiModelProperty(value = "全量数据源设置")
    private FullRpcIndexDataSourceVO fullDatasourceRpc;

    @ApiModelProperty(value = "更新时间（时间戳）")
    private int before;

    @ApiModelProperty(value = "页码")
    private int pageNo;

    @ApiModelProperty(value = "上次查询maxId")
    private int lastMaxId;

    public FullRpcIndexDataSourceVO getFullDatasourceRpc() {
        return fullDatasourceRpc;
    }

    public void setFullDatasourceRpc(FullRpcIndexDataSourceVO fullDatasourceRpc) {
        this.fullDatasourceRpc = fullDatasourceRpc;
    }

    public int getBefore() {
        return before;
    }

    public void setBefore(int before) {
        this.before = before;
    }

    public int getPageNo() {
        return pageNo;
    }

    public void setPageNo(int pageNo) {
        this.pageNo = pageNo;
    }

    public int getLastMaxId() {
        return lastMaxId;
    }

    public void setLastMaxId(int lastMaxId) {
        this.lastMaxId = lastMaxId;
    }

    @Override
    public String toString() {
        return "FullRpcTestRequest{" +
                "fullDatasourceRpc=" + fullDatasourceRpc +
                ", before=" + before +
                ", pageNo=" + pageNo +
                ", lastMaxId=" + lastMaxId +
                '}';
    }
}
